const express = require('express')
const router = express.Router()
const { chart } = require('../controller/echarts')

router.get('/chartData', (req, res, next) => {
    chart(req.body).then((data) => {
        res.json(data)
    })
})


module.exports = router